package com.light.applet.common.redis;

import java.util.concurrent.TimeUnit;

/**
 * @author 魏彪
 */
public class UserRedisKeyPrefix extends StandardKeyPrefix {

    public static final UserRedisKeyPrefix us = new UserRedisKeyPrefix("USER:VERIFY_CODE", 30, TimeUnit.SECONDS);

    public UserRedisKeyPrefix(String prefix) {
        super(prefix);
    }

    public UserRedisKeyPrefix(String prefix, Integer timeout, TimeUnit timeUnit) {
        super(prefix, timeout, timeUnit);
    }

    public static void main(String[] args) {
        System.out.println(UserRedisKeyPrefix.us.joinKey("13292847615"));
    }
}
